/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 50725
 Source Host           : localhost:3306
 Source Schema         : houserent

 Target Server Type    : MySQL
 Target Server Version : 50725
 File Encoding         : 65001

 Date: 11/03/2022 14:26:35
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for hou_apply
-- ----------------------------
DROP TABLE IF EXISTS `hou_apply`;
CREATE TABLE `hou_apply` (
  `apply_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '租房申请唯一标识',
  `time` datetime DEFAULT NULL COMMENT '申请时间',
  `house_id` bigint(20) DEFAULT NULL COMMENT '关联租房id',
  `user_id` bigint(20) DEFAULT NULL COMMENT '关联用户id',
  `month` bigint(20) DEFAULT NULL COMMENT '申请月数',
  `status` bigint(20) DEFAULT '1' COMMENT '1.等待审批 2.申请成功 3.申请失败',
  `pay` bigint(20) DEFAULT '2' COMMENT '1.已支付 2.未支付',
  PRIMARY KEY (`apply_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='租房申请表';

-- ----------------------------
-- Records of hou_apply
-- ----------------------------
BEGIN;
INSERT INTO `hou_apply` (`apply_id`, `time`, `house_id`, `user_id`, `month`, `status`, `pay`) VALUES (4, '2022-03-03 00:00:00', 1, 1, 12, 2, 2);
INSERT INTO `hou_apply` (`apply_id`, `time`, `house_id`, `user_id`, `month`, `status`, `pay`) VALUES (5, '2022-03-10 00:00:00', 2, 102, 1, 2, 2);
INSERT INTO `hou_apply` (`apply_id`, `time`, `house_id`, `user_id`, `month`, `status`, `pay`) VALUES (6, '2022-03-10 00:00:00', 2, 102, 1, 3, 2);
INSERT INTO `hou_apply` (`apply_id`, `time`, `house_id`, `user_id`, `month`, `status`, `pay`) VALUES (7, '2022-03-11 00:00:00', 3, 102, 11, 2, 2);
COMMIT;

-- ----------------------------
-- Table structure for hou_house
-- ----------------------------
DROP TABLE IF EXISTS `hou_house`;
CREATE TABLE `hou_house` (
  `house_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '房屋唯一标识',
  `name` varchar(200) NOT NULL COMMENT '房屋名称',
  `area` decimal(18,0) DEFAULT NULL COMMENT '房屋面积',
  `introduce` varchar(200) DEFAULT NULL COMMENT '房屋介绍',
  `price` decimal(18,2) DEFAULT NULL COMMENT '房屋价格（月）',
  `type` bigint(20) DEFAULT NULL COMMENT '租房类型 1.整租 2.合租',
  `location` varchar(200) DEFAULT NULL COMMENT '房屋位置',
  `rent_status` bigint(20) DEFAULT '1' COMMENT '出租状态 1.未出租 2.正在出租',
  `status` bigint(20) DEFAULT '1' COMMENT '房屋状态 1.正常 2.停用',
  `user_id` bigint(20) DEFAULT NULL COMMENT '关联用户id',
  `del_flag` bigint(20) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `update_date` datetime DEFAULT NULL COMMENT '更新日期',
  PRIMARY KEY (`house_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COMMENT='房屋表';

-- ----------------------------
-- Records of hou_house
-- ----------------------------
BEGIN;
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (1, '上海陆家嘴 汤臣一品', 220, '有点便宜', 50000.00, 1, '上海市陆家嘴滨江大道', 2, 1, 101, 0, '2022-03-10 23:21:03');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (2, '北京四合院', 500, '就是大', 60000.00, 1, '前门大街', 1, 1, 101, 0, '2022-03-10 23:19:37');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (3, '三亚海景别墅', 1000, '风景很好', 10000.00, 1, '三亚海边', 2, 1, 101, 0, '2022-03-10 23:21:01');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (4, '锦城校区 一室一厅 中山路旁', 50, '价格优惠', 800.00, 1, '中山路100号', 1, 1, 101, 0, '2022-02-28 23:07:51');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (5, '嘉园二里小区 合租房A房间', 30, '合租房，舍友好', 2000.00, 2, '丰台区马家堡100号', 1, 1, 101, 0, '2022-02-28 23:07:57');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (6, '恒大御景半岛 三室两厅', 120, '挺便宜的', 1800.00, 1, '河北石家庄市长安区', 1, 1, 101, 0, '2022-02-28 23:03:02');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (7, '天通苑 合租北房', 20, '人很多，狗也很多', 900.00, 2, '北京市昌平区', 1, 1, 101, 0, '2022-03-01 08:54:44');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (8, '桃源居 地下室二层', 10, '便宜实惠', 500.00, 1, '深圳市宝安区', 1, 1, 101, 0, '2022-03-01 08:55:34');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (9, '花果园 LOFT 精装四室', 80, '环境非常好', 3000.00, 1, '贵阳市蛇口工业区', 1, 1, 101, 0, '2022-03-01 08:57:56');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (10, '内蒙 蒙古包', 10, '麻雀虽小 五脏俱全', 400.00, 1, '内蒙古大草原', 1, 1, 101, 0, '2022-03-01 08:58:33');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (11, '保利未来城市精装两室', 100, '快来吧不然被抢走了', 1500.00, 1, '遵义汇川区', 1, 1, 101, 0, '2022-03-01 09:19:42');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (12, '湘江世纪城 合租B房间 阳面', 20, '阳面采光好', 800.00, 2, '长沙市开福区', 1, 1, 101, 0, '2022-03-01 09:07:29');
INSERT INTO `hou_house` (`house_id`, `name`, `area`, `introduce`, `price`, `type`, `location`, `rent_status`, `status`, `user_id`, `del_flag`, `update_date`) VALUES (15, '长安公园 长椅', 10, '冬暖夏凉', 10.00, 1, '石家庄建设大街与中山路交口', 1, 1, 101, 0, '2022-03-08 15:00:40');
COMMIT;

-- ----------------------------
-- Table structure for hou_house_and_images
-- ----------------------------
DROP TABLE IF EXISTS `hou_house_and_images`;
CREATE TABLE `hou_house_and_images` (
  `house_id` bigint(20) DEFAULT NULL COMMENT '关联房屋id',
  `images_id` bigint(20) DEFAULT NULL COMMENT '关联图片id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='房屋图片关联表';

-- ----------------------------
-- Records of hou_house_and_images
-- ----------------------------
BEGIN;
INSERT INTO `hou_house_and_images` (`house_id`, `images_id`) VALUES (1, 23);
INSERT INTO `hou_house_and_images` (`house_id`, `images_id`) VALUES (1, 24);
INSERT INTO `hou_house_and_images` (`house_id`, `images_id`) VALUES (2, 32);
INSERT INTO `hou_house_and_images` (`house_id`, `images_id`) VALUES (3, 33);
INSERT INTO `hou_house_and_images` (`house_id`, `images_id`) VALUES (4, 34);
INSERT INTO `hou_house_and_images` (`house_id`, `images_id`) VALUES (1, 35);
COMMIT;

-- ----------------------------
-- Table structure for hou_house_and_tag
-- ----------------------------
DROP TABLE IF EXISTS `hou_house_and_tag`;
CREATE TABLE `hou_house_and_tag` (
  `house_id` bigint(20) DEFAULT NULL COMMENT '关联房屋id',
  `tag_id` bigint(20) DEFAULT NULL COMMENT '关联标签id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='房屋标签关联表';

-- ----------------------------
-- Records of hou_house_and_tag
-- ----------------------------
BEGIN;
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (2, 1);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (2, 3);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (2, 2);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (2, 14);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (2, 16);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 1);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 12);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 13);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 2);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 7);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 11);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 14);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (3, 16);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 1);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 3);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 4);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 9);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 13);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 2);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 8);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 10);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 7);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (5, 11);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (4, 3);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (4, 4);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (4, 13);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (4, 2);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (4, 6);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 1);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 3);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 4);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 9);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 12);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 6);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 8);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (6, 10);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 3);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 4);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 9);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 12);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 13);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 2);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 8);
INSERT INTO `hou_house_and_tag` (`house_id`, `tag_id`) VALUES (1, 10);
COMMIT;

-- ----------------------------
-- Table structure for hou_images
-- ----------------------------
DROP TABLE IF EXISTS `hou_images`;
CREATE TABLE `hou_images` (
  `images_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '图片唯一标识',
  `images` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '图片路径',
  PRIMARY KEY (`images_id`)
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8 COMMENT='图片表';

-- ----------------------------
-- Records of hou_images
-- ----------------------------
BEGIN;
INSERT INTO `hou_images` (`images_id`, `images`) VALUES (23, '/profile/upload/2022/03/10/75915761-6ea9-438f-b8d6-f42b2050328a.jpg');
INSERT INTO `hou_images` (`images_id`, `images`) VALUES (24, '/profile/upload/2022/03/10/eb4b7dde-6931-4a0a-bc84-e8ee8686fe2c.jpg');
INSERT INTO `hou_images` (`images_id`, `images`) VALUES (32, '/profile/upload/2022/03/10/97c21885-cb45-4d75-b8ad-68aca30e484d.jpg');
INSERT INTO `hou_images` (`images_id`, `images`) VALUES (33, '/profile/upload/2022/03/10/cbf85865-f094-4a5b-84ae-6cf748cd92b9.jpg');
INSERT INTO `hou_images` (`images_id`, `images`) VALUES (34, '/profile/upload/2022/03/10/8c70ff3a-ca66-405a-8d28-5ad8ba12473d.jpg');
INSERT INTO `hou_images` (`images_id`, `images`) VALUES (35, '/profile/upload/2022/03/10/2ee4c16d-432d-4ec7-8c94-79703b3c693c.jpg');
COMMIT;

-- ----------------------------
-- Table structure for hou_record
-- ----------------------------
DROP TABLE IF EXISTS `hou_record`;
CREATE TABLE `hou_record` (
  `record_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '租房记录唯一标识',
  `house_id` bigint(20) DEFAULT NULL COMMENT '关联房屋id',
  `user_id` bigint(20) DEFAULT NULL COMMENT '关联用户id',
  `start_time` datetime DEFAULT NULL COMMENT '租房起始日期',
  `end_time` datetime DEFAULT NULL COMMENT '预定终止日期',
  `status` bigint(20) DEFAULT '1' COMMENT '退房状态 1.未退房 2.已退房',
  `price` decimal(18,4) DEFAULT NULL COMMENT '总价',
  `contract` varchar(200) DEFAULT NULL COMMENT '合同路径',
  PRIMARY KEY (`record_id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COMMENT='租房记录表';

-- ----------------------------
-- Records of hou_record
-- ----------------------------
BEGIN;
INSERT INTO `hou_record` (`record_id`, `house_id`, `user_id`, `start_time`, `end_time`, `status`, `price`, `contract`) VALUES (14, 2, 102, '2022-03-10 00:00:00', '2022-02-09 00:00:00', 2, 60000.0000, NULL);
INSERT INTO `hou_record` (`record_id`, `house_id`, `user_id`, `start_time`, `end_time`, `status`, `price`, `contract`) VALUES (16, 3, 102, '2022-03-11 00:00:00', '2023-02-04 00:00:00', 1, 110000.0000, NULL);
INSERT INTO `hou_record` (`record_id`, `house_id`, `user_id`, `start_time`, `end_time`, `status`, `price`, `contract`) VALUES (17, 1, 1, '2022-02-03 00:00:00', '2022-03-08 00:00:00', 1, 600000.0000, NULL);
COMMIT;

-- ----------------------------
-- Table structure for hou_tag
-- ----------------------------
DROP TABLE IF EXISTS `hou_tag`;
CREATE TABLE `hou_tag` (
  `tag_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '标签唯一标识',
  `name` varchar(200) DEFAULT NULL COMMENT '标签名称',
  `prior` bigint(20) DEFAULT NULL COMMENT '优先级 1 2 3',
  PRIMARY KEY (`tag_id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COMMENT='房屋标签表';

-- ----------------------------
-- Records of hou_tag
-- ----------------------------
BEGIN;
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (1, '押一付三', 1);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (2, '三室两厅', 2);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (3, '环境优雅', 1);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (4, '精装修', 1);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (5, '南面朝阳', 3);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (6, '有WIFI', 2);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (7, '紧邻地铁', 3);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (8, '小区环境好', 2);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (9, '无物业费', 1);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (10, '商圈', 2);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (11, '家具齐全', 3);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (12, '拎包入住', 1);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (13, '有三甲医院', 1);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (14, '绿化面积大', 3);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (15, '隔音好', 2);
INSERT INTO `hou_tag` (`tag_id`, `name`, `prior`) VALUES (16, '无异味', 3);
COMMIT;

-- ----------------------------
-- Table structure for qrtz_blob_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_blob_triggers`;
CREATE TABLE `qrtz_blob_triggers` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `blob_data` blob COMMENT '存放持久化Trigger对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Blob类型的触发器表';

-- ----------------------------
-- Records of qrtz_blob_triggers
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for qrtz_calendars
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_calendars`;
CREATE TABLE `qrtz_calendars` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `calendar_name` varchar(200) NOT NULL COMMENT '日历名称',
  `calendar` blob NOT NULL COMMENT '存放持久化calendar对象',
  PRIMARY KEY (`sched_name`,`calendar_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='日历信息表';

-- ----------------------------
-- Records of qrtz_calendars
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for qrtz_cron_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_cron_triggers`;
CREATE TABLE `qrtz_cron_triggers` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `cron_expression` varchar(200) NOT NULL COMMENT 'cron表达式',
  `time_zone_id` varchar(80) DEFAULT NULL COMMENT '时区',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cron类型的触发器表';

-- ----------------------------
-- Records of qrtz_cron_triggers
-- ----------------------------
BEGIN;
INSERT INTO `qrtz_cron_triggers` (`sched_name`, `trigger_name`, `trigger_group`, `cron_expression`, `time_zone_id`) VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME1', 'DEFAULT', '0 52 10 * * ?', 'Asia/Shanghai');
COMMIT;

-- ----------------------------
-- Table structure for qrtz_fired_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_fired_triggers`;
CREATE TABLE `qrtz_fired_triggers` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `entry_id` varchar(95) NOT NULL COMMENT '调度器实例id',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `instance_name` varchar(200) NOT NULL COMMENT '调度器实例名',
  `fired_time` bigint(20) NOT NULL COMMENT '触发的时间',
  `sched_time` bigint(20) NOT NULL COMMENT '定时器制定的时间',
  `priority` int(11) NOT NULL COMMENT '优先级',
  `state` varchar(16) NOT NULL COMMENT '状态',
  `job_name` varchar(200) DEFAULT NULL COMMENT '任务名称',
  `job_group` varchar(200) DEFAULT NULL COMMENT '任务组名',
  `is_nonconcurrent` varchar(1) DEFAULT NULL COMMENT '是否并发',
  `requests_recovery` varchar(1) DEFAULT NULL COMMENT '是否接受恢复执行',
  PRIMARY KEY (`sched_name`,`entry_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='已触发的触发器表';

-- ----------------------------
-- Records of qrtz_fired_triggers
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for qrtz_job_details
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_job_details`;
CREATE TABLE `qrtz_job_details` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `job_name` varchar(200) NOT NULL COMMENT '任务名称',
  `job_group` varchar(200) NOT NULL COMMENT '任务组名',
  `description` varchar(250) DEFAULT NULL COMMENT '相关介绍',
  `job_class_name` varchar(250) NOT NULL COMMENT '执行任务类名称',
  `is_durable` varchar(1) NOT NULL COMMENT '是否持久化',
  `is_nonconcurrent` varchar(1) NOT NULL COMMENT '是否并发',
  `is_update_data` varchar(1) NOT NULL COMMENT '是否更新数据',
  `requests_recovery` varchar(1) NOT NULL COMMENT '是否接受恢复执行',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`job_name`,`job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='任务详细信息表';

-- ----------------------------
-- Records of qrtz_job_details
-- ----------------------------
BEGIN;
INSERT INTO `qrtz_job_details` (`sched_name`, `job_name`, `job_group`, `description`, `job_class_name`, `is_durable`, `is_nonconcurrent`, `is_update_data`, `requests_recovery`, `job_data`) VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME1', 'DEFAULT', NULL, 'com.edu.bhu.quartz.util.QuartzDisallowConcurrentExecution', '0', '1', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C7708000000100000000174000F5441534B5F50524F5045525449455373720020636F6D2E6564752E6268752E71756172747A2E646F6D61696E2E5379734A6F6200000000000000010200084C000A636F6E63757272656E747400124C6A6176612F6C616E672F537472696E673B4C000E63726F6E45787072657373696F6E71007E00094C000C696E766F6B6554617267657471007E00094C00086A6F6247726F757071007E00094C00056A6F6249647400104C6A6176612F6C616E672F4C6F6E673B4C00076A6F624E616D6571007E00094C000D6D697366697265506F6C69637971007E00094C000673746174757371007E000978720029636F6D2E6564752E6268752E636F6D6D6F6E2E636F72652E646F6D61696E2E42617365456E7469747900000000000000010200074C0008637265617465427971007E00094C000A63726561746554696D657400104C6A6176612F7574696C2F446174653B4C0006706172616D7371007E00034C000672656D61726B71007E00094C000B73656172636856616C756571007E00094C0008757064617465427971007E00094C000A75706461746554696D6571007E000C787074000561646D696E7372000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000017E579908507870740027E9AB98E7BAA7E4BC9AE59198E588B0E69C9FE5908EE4BFAEE694B9E4BC9AE59198E78AB6E680817070707400013174000D30203532203130202A202A203F740032636F6D2E6564752E6268752E61646D696E2E7461736B2E6D656D6265725465736B2E6D61696C6461794461696C795461736B74000744454641554C547372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000001740018E4BC9AE59198E588B0E69C9FE5AE9AE697B6E4BBBBE58AA174000133740001317800);
COMMIT;

-- ----------------------------
-- Table structure for qrtz_locks
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_locks`;
CREATE TABLE `qrtz_locks` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `lock_name` varchar(40) NOT NULL COMMENT '悲观锁名称',
  PRIMARY KEY (`sched_name`,`lock_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='存储的悲观锁信息表';

-- ----------------------------
-- Records of qrtz_locks
-- ----------------------------
BEGIN;
INSERT INTO `qrtz_locks` (`sched_name`, `lock_name`) VALUES ('RuoyiScheduler', 'STATE_ACCESS');
INSERT INTO `qrtz_locks` (`sched_name`, `lock_name`) VALUES ('RuoyiScheduler', 'TRIGGER_ACCESS');
COMMIT;

-- ----------------------------
-- Table structure for qrtz_paused_trigger_grps
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_paused_trigger_grps`;
CREATE TABLE `qrtz_paused_trigger_grps` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  PRIMARY KEY (`sched_name`,`trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='暂停的触发器表';

-- ----------------------------
-- Records of qrtz_paused_trigger_grps
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for qrtz_scheduler_state
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_scheduler_state`;
CREATE TABLE `qrtz_scheduler_state` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `instance_name` varchar(200) NOT NULL COMMENT '实例名称',
  `last_checkin_time` bigint(20) NOT NULL COMMENT '上次检查时间',
  `checkin_interval` bigint(20) NOT NULL COMMENT '检查间隔时间',
  PRIMARY KEY (`sched_name`,`instance_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='调度器状态表';

-- ----------------------------
-- Records of qrtz_scheduler_state
-- ----------------------------
BEGIN;
INSERT INTO `qrtz_scheduler_state` (`sched_name`, `instance_name`, `last_checkin_time`, `checkin_interval`) VALUES ('RuoyiScheduler', 'EnzrealdeMacBook-Pro.local1646979891327', 1646979984494, 15000);
COMMIT;

-- ----------------------------
-- Table structure for qrtz_simple_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_simple_triggers`;
CREATE TABLE `qrtz_simple_triggers` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `repeat_count` bigint(20) NOT NULL COMMENT '重复的次数统计',
  `repeat_interval` bigint(20) NOT NULL COMMENT '重复的间隔时间',
  `times_triggered` bigint(20) NOT NULL COMMENT '已经触发的次数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='简单触发器的信息表';

-- ----------------------------
-- Records of qrtz_simple_triggers
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for qrtz_simprop_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_simprop_triggers`;
CREATE TABLE `qrtz_simprop_triggers` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `str_prop_1` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第一个参数',
  `str_prop_2` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第二个参数',
  `str_prop_3` varchar(512) DEFAULT NULL COMMENT 'String类型的trigger的第三个参数',
  `int_prop_1` int(11) DEFAULT NULL COMMENT 'int类型的trigger的第一个参数',
  `int_prop_2` int(11) DEFAULT NULL COMMENT 'int类型的trigger的第二个参数',
  `long_prop_1` bigint(20) DEFAULT NULL COMMENT 'long类型的trigger的第一个参数',
  `long_prop_2` bigint(20) DEFAULT NULL COMMENT 'long类型的trigger的第二个参数',
  `dec_prop_1` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第一个参数',
  `dec_prop_2` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第二个参数',
  `bool_prop_1` varchar(1) DEFAULT NULL COMMENT 'Boolean类型的trigger的第一个参数',
  `bool_prop_2` varchar(1) DEFAULT NULL COMMENT 'Boolean类型的trigger的第二个参数',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  CONSTRAINT `qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `trigger_name`, `trigger_group`) REFERENCES `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='同步机制的行锁表';

-- ----------------------------
-- Records of qrtz_simprop_triggers
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for qrtz_triggers
-- ----------------------------
DROP TABLE IF EXISTS `qrtz_triggers`;
CREATE TABLE `qrtz_triggers` (
  `sched_name` varchar(120) NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) NOT NULL COMMENT '触发器的名字',
  `trigger_group` varchar(200) NOT NULL COMMENT '触发器所属组的名字',
  `job_name` varchar(200) NOT NULL COMMENT 'qrtz_job_details表job_name的外键',
  `job_group` varchar(200) NOT NULL COMMENT 'qrtz_job_details表job_group的外键',
  `description` varchar(250) DEFAULT NULL COMMENT '相关介绍',
  `next_fire_time` bigint(20) DEFAULT NULL COMMENT '上一次触发时间（毫秒）',
  `prev_fire_time` bigint(20) DEFAULT NULL COMMENT '下一次触发时间（默认为-1表示不触发）',
  `priority` int(11) DEFAULT NULL COMMENT '优先级',
  `trigger_state` varchar(16) NOT NULL COMMENT '触发器状态',
  `trigger_type` varchar(8) NOT NULL COMMENT '触发器的类型',
  `start_time` bigint(20) NOT NULL COMMENT '开始时间',
  `end_time` bigint(20) DEFAULT NULL COMMENT '结束时间',
  `calendar_name` varchar(200) DEFAULT NULL COMMENT '日程表名称',
  `misfire_instr` smallint(6) DEFAULT NULL COMMENT '补偿执行的策略',
  `job_data` blob COMMENT '存放持久化job对象',
  PRIMARY KEY (`sched_name`,`trigger_name`,`trigger_group`),
  KEY `sched_name` (`sched_name`,`job_name`,`job_group`),
  CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`sched_name`, `job_name`, `job_group`) REFERENCES `qrtz_job_details` (`sched_name`, `job_name`, `job_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='触发器详细信息表';

-- ----------------------------
-- Records of qrtz_triggers
-- ----------------------------
BEGIN;
INSERT INTO `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`, `job_name`, `job_group`, `description`, `next_fire_time`, `prev_fire_time`, `priority`, `trigger_state`, `trigger_type`, `start_time`, `end_time`, `calendar_name`, `misfire_instr`, `job_data`) VALUES ('RuoyiScheduler', 'TASK_CLASS_NAME1', 'DEFAULT', 'TASK_CLASS_NAME1', 'DEFAULT', NULL, 1647053520000, -1, 5, 'PAUSED', 'CRON', 1646979891000, 0, NULL, 2, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `config_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='参数配置表';

-- ----------------------------
-- Records of sys_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-purple', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '初始化密码 123456');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '深黑主题theme-dark，浅色主题theme-light，深蓝主题theme-blue');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'true', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '是否开启注册用户功能（true开启，false关闭）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '用户管理-密码字符范围', 'sys.account.chrtype', '0', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '默认任意字符范围，0任意（密码可以输入任意字符），1数字（密码只能为0-9数字），2英文字母（密码只能为a-z和A-Z字母），3字母和数字（密码必须包含字母，数字）,4字母数字和特殊字符（目前支持的特殊字符包括：~!@#$%^&*()-=_+）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '用户管理-初始密码修改策略', 'sys.account.initPasswordModify', '0', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '0：初始密码修改策略关闭，没有任何提示，1：提醒用户，如果未修改初始密码，则在登录时就会提醒修改密码对话框');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '用户管理-账号密码更新周期', 'sys.account.passwordValidateDays', '0', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '密码更新周期（填写数字，数据初始化值为0不限制，若修改必须为大于0小于365的正整数），如果超过这个周期登录系统时，则在登录时就会提醒修改密码对话框');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, '主框架页-菜单导航显示风格', 'sys.index.menuStyle', 'default', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '菜单导航显示风格（default为左侧导航菜单，topnav为顶部导航菜单）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '主框架页-是否开启页脚', 'sys.index.footer', 'true', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '是否开启底部页脚显示（true显示，false隐藏）');
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, '主框架页-是否开启页签', 'sys.index.tagsView', 'true', 'Y', 'admin', '2022-01-14 15:59:10', '', NULL, '是否开启菜单多页签显示（true显示，false隐藏）');
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int(11) DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8 COMMENT='字典数据表';

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '性别男');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '性别女');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '性别未知');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '显示菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '默认分组');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '系统分组');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '系统默认是');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '系统默认否');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '通知');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '公告');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '关闭状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (18, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '其他操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (19, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '新增操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (20, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '修改操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (21, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '删除操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (22, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '授权操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (23, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '导出操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (24, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '导入操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (25, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '强退操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (26, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '生成操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (27, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '清空操作');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (28, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (29, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2022-01-14 15:59:08', '', NULL, '停用状态');
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) DEFAULT '' COMMENT '字典类型',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`),
  UNIQUE KEY `dict_type` (`dict_type`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='字典类型表';

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '用户性别', 'sys_user_sex', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '用户性别列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '菜单状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '系统开关列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '任务状态', 'sys_job_status', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '任务状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '任务分组', 'sys_job_group', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '任务分组列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '系统是否', 'sys_yes_no', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '系统是否列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '通知类型', 'sys_notice_type', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '通知类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, '通知状态', 'sys_notice_status', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '通知状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '操作类型', 'sys_oper_type', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '操作类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, '系统状态', 'sys_common_status', '0', 'admin', '2022-01-14 15:59:06', '', NULL, '登录状态列表');
COMMIT;

-- ----------------------------
-- Table structure for sys_job
-- ----------------------------
DROP TABLE IF EXISTS `sys_job`;
CREATE TABLE `sys_job` (
  `job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `job_name` varchar(64) NOT NULL DEFAULT '' COMMENT '任务名称',
  `job_group` varchar(64) NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
  `invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
  `cron_expression` varchar(255) DEFAULT '' COMMENT 'cron执行表达式',
  `misfire_policy` varchar(20) DEFAULT '3' COMMENT '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
  `concurrent` char(1) DEFAULT '1' COMMENT '是否并发执行（0允许 1禁止）',
  `status` char(1) DEFAULT '0' COMMENT '状态（0正常 1暂停）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT '' COMMENT '备注信息',
  PRIMARY KEY (`job_id`,`job_name`,`job_group`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='定时任务调度表';

-- ----------------------------
-- Records of sys_job
-- ----------------------------
BEGIN;
INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '会员到期定时任务', 'DEFAULT', 'com.edu.bhu.admin.task.memberTesk.maildayDailyTask', '0 52 10 * * ?', '3', '1', '1', 'admin', '2022-01-14 15:59:14', 'admin', '2022-02-10 22:13:49', '高级会员到期后修改会员状态');
COMMIT;

-- ----------------------------
-- Table structure for sys_job_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_job_log`;
CREATE TABLE `sys_job_log` (
  `job_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
  `job_name` varchar(64) NOT NULL COMMENT '任务名称',
  `job_group` varchar(64) NOT NULL COMMENT '任务组名',
  `invoke_target` varchar(500) NOT NULL COMMENT '调用目标字符串',
  `job_message` varchar(500) DEFAULT NULL COMMENT '日志信息',
  `status` char(1) DEFAULT '0' COMMENT '执行状态（0正常 1失败）',
  `exception_info` varchar(2000) DEFAULT '' COMMENT '异常信息',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`job_log_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='定时任务调度日志表';

-- ----------------------------
-- Records of sys_job_log
-- ----------------------------
BEGIN;
INSERT INTO `sys_job_log` (`job_log_id`, `job_name`, `job_group`, `invoke_target`, `job_message`, `status`, `exception_info`, `create_time`) VALUES (1, '会员到期定时任务', 'DEFAULT', 'com.edu.bhu.admin.task.memberTesk.maildayDailyTask', '会员到期定时任务 总共耗时：7毫秒', '0', '', '2022-01-25 10:52:00');
INSERT INTO `sys_job_log` (`job_log_id`, `job_name`, `job_group`, `invoke_target`, `job_message`, `status`, `exception_info`, `create_time`) VALUES (2, '会员到期定时任务', 'DEFAULT', 'com.edu.bhu.admin.task.memberTesk.maildayDailyTask', '会员到期定时任务 总共耗时：11毫秒', '0', '', '2022-01-25 11:28:31');
INSERT INTO `sys_job_log` (`job_log_id`, `job_name`, `job_group`, `invoke_target`, `job_message`, `status`, `exception_info`, `create_time`) VALUES (3, '会员到期定时任务', 'DEFAULT', 'com.edu.bhu.admin.task.memberTesk.maildayDailyTask', '会员到期定时任务 总共耗时：17毫秒', '0', '', '2022-02-10 22:15:13');
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) NOT NULL COMMENT '菜单名称',
  `parent_id` bigint(20) DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int(11) DEFAULT '0' COMMENT '显示顺序',
  `url` varchar(200) DEFAULT '#' COMMENT '请求地址',
  `target` varchar(20) DEFAULT '' COMMENT '打开方式（menuItem页签 menuBlank新窗口）',
  `menu_type` char(1) DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `is_refresh` char(1) DEFAULT '1' COMMENT '是否刷新（0刷新 1不刷新）',
  `perms` varchar(100) DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2143 DEFAULT CHARSET=utf8 COMMENT='菜单权限表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '系统管理', 0, 1, '#', '', 'M', '0', '1', '', 'fa fa-gear', 'admin', '2022-01-14 15:58:54', '', NULL, '系统管理目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '系统监控', 0, 2, '#', 'menuItem', 'M', '1', '1', '', 'fa fa-video-camera', 'admin', '2022-01-14 15:58:54', 'admin', '2022-03-09 10:44:29', '系统监控目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '房源信息', 0, 3, '#', 'menuItem', 'M', '0', '1', '', 'fa fa-home', 'admin', '2022-02-11 14:35:46', 'admin', '2022-02-24 13:54:04', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '用户管理', 1, 1, '/system/user', '', 'C', '0', '1', 'system:user:view', 'fa fa-user-o', 'admin', '2022-01-14 15:58:54', '', NULL, '用户管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '角色管理', 1, 2, '/system/role', '', 'C', '0', '1', 'system:role:view', 'fa fa-user-secret', 'admin', '2022-01-14 15:58:54', '', NULL, '角色管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '菜单管理', 1, 3, '/system/menu', 'menuItem', 'C', '1', '1', 'system:menu:view', 'fa fa-th-list', 'admin', '2022-01-14 15:58:54', 'admin', '2022-03-11 14:26:13', '菜单管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, '通知公告', 1, 8, '/system/notice', '', 'C', '0', '1', 'system:notice:view', 'fa fa-bullhorn', 'admin', '2022-01-14 15:58:54', '', NULL, '通知公告菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (110, '定时任务', 2, 2, '/monitor/job', '', 'C', '0', '1', 'monitor:job:view', 'fa fa-tasks', 'admin', '2022-01-14 15:58:54', '', NULL, '定时任务菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1000, '用户查询', 100, 1, '#', '', 'F', '0', '1', 'system:user:list', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1001, '用户新增', 100, 2, '#', '', 'F', '0', '1', 'system:user:add', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1002, '用户修改', 100, 3, '#', '', 'F', '0', '1', 'system:user:edit', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1003, '用户删除', 100, 4, '#', '', 'F', '0', '1', 'system:user:remove', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1004, '用户导出', 100, 5, '#', '', 'F', '0', '1', 'system:user:export', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1005, '用户导入', 100, 6, '#', '', 'F', '0', '1', 'system:user:import', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1006, '重置密码', 100, 7, '#', '', 'F', '0', '1', 'system:user:resetPwd', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1007, '角色查询', 101, 1, '#', '', 'F', '0', '1', 'system:role:list', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1008, '角色新增', 101, 2, '#', '', 'F', '0', '1', 'system:role:add', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1009, '角色修改', 101, 3, '#', '', 'F', '0', '1', 'system:role:edit', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1010, '角色删除', 101, 4, '#', '', 'F', '0', '1', 'system:role:remove', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1011, '角色导出', 101, 5, '#', '', 'F', '0', '1', 'system:role:export', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1012, '菜单查询', 102, 1, '#', '', 'F', '0', '1', 'system:menu:list', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1013, '菜单新增', 102, 2, '#', '', 'F', '0', '1', 'system:menu:add', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1014, '菜单修改', 102, 3, '#', '', 'F', '0', '1', 'system:menu:edit', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1015, '菜单删除', 102, 4, '#', '', 'F', '0', '1', 'system:menu:remove', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1035, '公告查询', 107, 1, '#', '', 'F', '0', '1', 'system:notice:list', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1036, '公告新增', 107, 2, '#', '', 'F', '0', '1', 'system:notice:add', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1037, '公告修改', 107, 3, '#', '', 'F', '0', '1', 'system:notice:edit', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1038, '公告删除', 107, 4, '#', '', 'F', '0', '1', 'system:notice:remove', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1050, '任务查询', 110, 1, '#', '', 'F', '0', '1', 'monitor:job:list', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1051, '任务新增', 110, 2, '#', '', 'F', '0', '1', 'monitor:job:add', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1052, '任务修改', 110, 3, '#', '', 'F', '0', '1', 'monitor:job:edit', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1053, '任务删除', 110, 4, '#', '', 'F', '0', '1', 'monitor:job:remove', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1054, '状态修改', 110, 5, '#', '', 'F', '0', '1', 'monitor:job:changeStatus', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1055, '任务详细', 110, 6, '#', '', 'F', '0', '1', 'monitor:job:detail', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1056, '任务导出', 110, 7, '#', '', 'F', '0', '1', 'monitor:job:export', '#', 'admin', '2022-01-14 15:58:54', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2101, '房源管理', 3, 1, '/admin/house', 'menuItem', 'C', '0', '0', 'admin:house:view', '#', 'admin', '2022-02-22 17:54:00', 'admin', '2022-02-28 15:23:42', '房屋菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2102, '房屋查询', 2101, 1, '#', '', 'F', '0', '1', 'admin:house:list', '#', 'admin', '2022-02-22 17:54:00', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2103, '房屋新增', 2101, 2, '#', '', 'F', '0', '1', 'admin:house:add', '#', 'admin', '2022-02-22 17:54:00', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2104, '房屋修改', 2101, 3, '#', '', 'F', '0', '1', 'admin:house:edit', '#', 'admin', '2022-02-22 17:54:00', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2105, '房屋删除', 2101, 4, '#', '', 'F', '0', '1', 'admin:house:remove', '#', 'admin', '2022-02-22 17:54:00', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2106, '房屋导出', 2101, 5, '#', '', 'F', '0', '1', 'admin:house:export', '#', 'admin', '2022-02-22 17:54:00', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2107, '房屋标签', 3, 2, '/admin/tag', 'menuItem', 'C', '0', '0', 'admin:tag:view', '#', 'admin', '2022-02-23 15:05:05', 'admin', '2022-03-10 22:18:20', '房屋标签菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2108, '房屋标签查询', 2107, 1, '#', 'menuItem', 'F', '0', '1', 'admin:tag:list', '#', 'admin', '2022-02-23 15:05:05', 'admin', '2022-03-10 22:18:37', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2109, '房屋标签新增', 2107, 2, '#', 'menuItem', 'F', '0', '1', 'admin:tag:add', '#', 'admin', '2022-02-23 15:05:05', 'admin', '2022-03-10 22:18:57', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2110, '房屋标签修改', 2107, 3, '#', 'menuItem', 'F', '0', '1', 'admin:tag:edit', '#', 'admin', '2022-02-23 15:05:05', 'admin', '2022-03-10 22:19:13', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2111, '房屋标签删除', 2107, 4, '#', 'menuItem', 'F', '0', '1', 'admin:tag:remove', '#', 'admin', '2022-02-23 15:05:05', 'admin', '2022-03-10 22:19:26', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2112, '房屋标签导出', 2107, 5, '#', 'menuItem', 'F', '0', '1', 'admin:tag:export', '#', 'admin', '2022-02-23 15:05:05', 'admin', '2022-03-10 22:19:42', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2119, '房源列表', 3, 3, '/admin/house/houseCard', 'menuItem', 'C', '0', '0', 'admin:house:view', '#', 'admin', '2022-02-28 15:21:18', 'admin', '2022-02-28 15:22:52', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2120, '我的申请', 2132, 1, '/admin/apply/myApply', 'menuItem', 'C', '0', '0', 'admin:myapply:view', '#', 'admin', '2022-03-03 09:42:52', 'admin', '2022-03-03 10:03:44', '租房申请菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2121, '租房申请查询', 2120, 1, '#', '', 'F', '0', '1', 'admin:apply:list', '#', 'admin', '2022-03-03 09:42:52', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2122, '租房申请新增', 2120, 2, '#', '', 'F', '0', '1', 'admin:apply:add', '#', 'admin', '2022-03-03 09:42:52', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2123, '租房申请修改', 2120, 3, '#', '', 'F', '0', '1', 'admin:apply:edit', '#', 'admin', '2022-03-03 09:42:52', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2124, '租房申请删除', 2120, 4, '#', '', 'F', '0', '1', 'admin:apply:remove', '#', 'admin', '2022-03-03 09:42:52', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2125, '租房申请导出', 2120, 5, '#', '', 'F', '0', '1', 'admin:apply:export', '#', 'admin', '2022-03-03 09:42:52', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2126, '我的租赁', 2136, 1, '/admin/record/myRecord', 'menuItem', 'C', '0', '0', 'admin:myrecord:view', '#', 'admin', '2022-03-03 09:43:04', 'admin', '2022-03-04 10:13:20', '租房记录菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2127, '租房记录查询', 2126, 1, '#', '', 'F', '0', '1', 'admin:record:list', '#', 'admin', '2022-03-03 09:43:04', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2128, '租房记录新增', 2126, 2, '#', '', 'F', '0', '1', 'admin:record:add', '#', 'admin', '2022-03-03 09:43:04', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2129, '租房记录修改', 2126, 3, '#', '', 'F', '0', '1', 'admin:record:edit', '#', 'admin', '2022-03-03 09:43:04', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2130, '租房记录删除', 2126, 4, '#', '', 'F', '0', '1', 'admin:record:remove', '#', 'admin', '2022-03-03 09:43:04', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2131, '租房记录导出', 2137, 5, '#', 'menuItem', 'F', '0', '1', 'admin:record:export', '#', 'admin', '2022-03-03 09:43:04', 'admin', '2022-03-04 09:51:34', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2132, '租赁申请', 0, 4, '#', 'menuItem', 'M', '0', '1', NULL, 'fa fa-external-link-square', 'admin', '2022-03-03 09:44:37', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2133, '处理申请', 2132, 2, '/admin/apply/dealApply', 'menuItem', 'C', '0', '0', 'admin:dealapply:view', '#', 'admin', '2022-03-03 14:11:44', 'admin', '2022-03-03 14:12:19', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2134, '租房申请修改', 2133, 1, '#', 'menuItem', 'F', '0', '1', 'admin:apply:edit', '#', 'admin', '2022-03-03 14:13:40', 'admin', '2022-03-03 14:15:45', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2135, '租房申请导出', 2133, 2, '#', 'menuItem', 'F', '0', '1', 'admin:apply:export', '#', 'admin', '2022-03-03 14:13:40', 'admin', '2022-03-03 14:15:51', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2136, '租赁记录', 0, 5, '#', 'menuItem', 'M', '0', '1', NULL, 'fa fa-book', 'admin', '2022-03-04 09:24:04', '', NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2137, '我的出租', 2136, 2, '/admin/record/rentRecord', 'menuItem', 'C', '0', '0', 'admin:rentrecord:view', '#', 'admin', '2022-03-04 09:47:38', 'admin', '2022-03-04 10:13:27', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2138, '租房记录查询', 2137, 1, '#', 'menuItem', 'F', '0', '1', 'admin:record:list', '#', 'admin', '2022-03-04 09:50:09', 'admin', '2022-03-04 09:50:49', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2139, '租房记录新增', 2137, 2, '#', 'menuItem', 'F', '0', '1', 'admin:record:add', '#', 'admin', '2022-03-04 09:50:09', 'admin', '2022-03-04 09:51:07', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2140, '租房记录修改', 2137, 3, '#', 'menuItem', 'F', '0', '1', 'admin:record:edit', '#', 'admin', '2022-03-04 09:50:09', 'admin', '2022-03-04 09:51:14', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2141, '租房记录删除', 2137, 4, '#', 'menuItem', 'F', '0', '1', 'admin:record:remove', '#', 'admin', '2022-03-04 09:50:09', 'admin', '2022-03-04 09:51:21', '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `url`, `target`, `menu_type`, `visible`, `is_refresh`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2142, '租房记录导出', 2126, 5, '#', '', 'F', '0', '1', 'admin:record:export', '#', 'admin', '2022-03-04 09:50:09', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice` (
  `notice_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) NOT NULL COMMENT '公告标题',
  `notice_type` char(1) NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` varchar(2000) DEFAULT NULL COMMENT '公告内容',
  `status` char(1) DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='通知公告表';

-- ----------------------------
-- Records of sys_notice
-- ----------------------------
BEGIN;
INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '温馨提醒：2022-02-16 房屋租住管理系统新版本发布啦', '2', '新版本内容qqqq', '0', 'admin', '2022-01-14 15:59:17', 'admin', '2022-03-10 16:56:44', '管理员');
INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '维护通知：2022-02-16 房屋租住管理系统凌晨维护', '1', '维护内容', '0', 'admin', '2022-01-14 15:59:17', 'admin', '2022-03-10 16:56:59', '管理员');
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) NOT NULL COMMENT '角色权限字符串',
  `role_sort` int(11) NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `status` char(1) NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8 COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '超级管理员', 'admin', 1, '1', '0', '0', 'admin', '2022-01-14 15:58:53', '', NULL, '超级管理员');
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '租户', 'manager', 2, '1', '0', '0', 'admin', '2022-02-11 14:01:10', 'admin', '2022-03-10 22:54:38', '出租房屋');
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '租客', 'renter', 3, '1', '0', '0', 'admin', '2022-02-11 14:02:23', 'admin', '2022-03-10 22:53:36', '租赁房屋');
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (104, '1', 'q', 4, '1', '0', '2', 'admin', '2022-03-09 22:23:47', '', NULL, NULL);
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (105, '2', '34', 4, '1', '0', '2', 'admin', '2022-03-09 22:23:56', '', NULL, NULL);
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (106, '13', '1', 23, '1', '0', '2', 'admin', '2022-03-09 22:24:05', '', NULL, NULL);
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, '12', '2', 3, '1', '0', '2', 'admin', '2022-03-09 22:24:13', '', NULL, '2');
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (108, '3', '3', 3, '1', '0', '2', 'admin', '2022-03-09 22:24:20', '', NULL, '3');
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (109, 'e', 'e', 3, '1', '0', '2', 'admin', '2022-03-09 22:24:30', '', NULL, NULL);
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (110, 'eed', 'ed', 3, '1', '0', '2', 'admin', '2022-03-09 22:24:39', '', NULL, NULL);
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (111, 'ds', 's', 4, '1', '0', '2', 'admin', '2022-03-09 22:24:50', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='角色和菜单关联表';

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 1);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 3);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 107);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 1035);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2101);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2102);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2107);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2108);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2121);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2122);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2123);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2124);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2125);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2131);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2132);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2133);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2134);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2135);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2136);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2137);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2138);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2139);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2140);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (101, 2141);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 1);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 3);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 107);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 1035);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2102);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2119);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2120);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2121);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2122);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2123);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2124);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2125);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2126);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2127);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2128);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2129);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2130);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2132);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (102, 2136);
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `login_name` varchar(30) NOT NULL COMMENT '登录账号',
  `user_name` varchar(30) DEFAULT '' COMMENT '用户昵称',
  `user_type` varchar(2) DEFAULT '00' COMMENT '用户类型（00系统用户 01注册用户）',
  `email` varchar(50) DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) DEFAULT '' COMMENT '手机号码',
  `sex` char(1) DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) DEFAULT '' COMMENT '头像路径',
  `password` varchar(50) DEFAULT '' COMMENT '密码',
  `salt` varchar(20) DEFAULT '' COMMENT '盐加密',
  `status` char(1) DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `pwd_update_date` datetime DEFAULT NULL COMMENT '密码最后更新时间',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8 COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` (`user_id`, `login_name`, `user_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `salt`, `status`, `del_flag`, `login_ip`, `login_date`, `pwd_update_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, 'admin', '张可意', '00', 'ry@163.com', '15888888888', '0', '/profile/avatar/2022/01/25/eead16be-d853-4498-81de-8f64480ec3c1.png', '29c67a30398638269fe600f73a054934', '111111', '0', '0', '127.0.0.1', '2022-03-11 14:25:03', '2022-01-14 15:58:50', 'admin', '2022-03-11 14:25:03', '', '2022-03-11 14:25:03', '管理员');
INSERT INTO `sys_user` (`user_id`, `login_name`, `user_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `salt`, `status`, `del_flag`, `login_ip`, `login_date`, `pwd_update_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, 'wanzi', '丸子猫', '00', '', '', '0', '', 'bc84c0ffbbef7fa1701415a0b34ac877', '3f2f38', '0', '0', '127.0.0.1', '2022-03-10 23:20:55', NULL, 'admin', '2022-03-10 23:20:55', 'admin', '2022-03-10 23:20:55', '租户');
INSERT INTO `sys_user` (`user_id`, `login_name`, `user_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `salt`, `status`, `del_flag`, `login_ip`, `login_date`, `pwd_update_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, 'huasheng', '刘花生', '01', '', '', '0', '', 'dfbef1086bc9066199a85dd512729f3e', '6f11ba', '0', '0', '127.0.0.1', '2022-03-10 23:23:32', '2022-02-14 10:47:13', '', '2022-03-10 23:23:31', 'admin', '2022-03-10 23:23:31', '租客');
INSERT INTO `sys_user` (`user_id`, `login_name`, `user_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `salt`, `status`, `del_flag`, `login_ip`, `login_date`, `pwd_update_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (103, 'jianguo', '欧阳建国', '00', '', '', '0', '', '9083528702dd335f7a2b18b9c599d9dd', '165de5', '0', '0', '', NULL, NULL, 'admin', '2022-03-09 10:48:48', 'admin', '2022-03-09 10:48:48', '既是租户也是租客');
COMMIT;

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户和角色关联表';

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (1, 1);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (101, 101);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (102, 102);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (103, 101);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (103, 102);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (104, 102);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (104, 103);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
